-- GENERATED SPELL FOR [Achellios the Banished] --


function spell0_5933(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(6192,pUnit)
pUnit:RegisterEvent('Sorts_5933', 548, 1)
end

function Sorts_5933(pUnit, Event)
local choix_sorts_5933 = math.random(0, 0)
if choix_sorts_5933 == 0 then
pUnit:RegisterEvent('spell0_5933', 1, 1)
end
end

function mob5933_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5933', math.random(1500, 3000), 1)
end

function mob5933_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5933_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5933_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5933, 1, 'mob5933_Action')
RegisterUnitEvent(5933, 2, 'mob5933_Leave')
RegisterUnitEvent(5933, 3, 'mob5933_Kill')
RegisterUnitEvent(5933, 4, 'mob5933_Die')
